package com.label.Dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.label.Model.Do.Entity;
import com.label.Model.Vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EntityMapper extends BaseMapper<Entity> {

    List<ActivityTagVo> getAllCourseInfo();

    List<ActivityTagVo> getOneCourseInfo(@Param("activityName") String activityName,@Param("startTime")String startTime,@Param("endTime")String endTime);

    List<StuTagVo> getAllStuInfo();

    List<StuTagVo> getOneStuInfo(@Param("userid")String userid,@Param("classposition")String classposition,@Param("unionposition")String unionposition,@Param("userids")List<String> userids,@Param("classId")String classId,@Param("politics")String politics);

    List<DorTagVo> getAllDorInfo();

    List<DorTagVo> getOneDorInfo(@Param("enrollyear")String enrollyear,@Param("classid")String classid,@Param("dormitory")String dormitory,@Param("dormitorys")List<String> dormitorys);

    List<ClassTagVo> getAllClassInfo();

    List<ClassTagVo> getOneClassInfo(@Param("enrollyear")String enrollyear,@Param("classid")String classid,@Param("classes")List<String> classes);

    List<ResultVo> getCoursePoint(@Param("userIds")String userIds);

    List<ResultVo> getStuPoint(@Param("userIds")String userIds);

    List<ResultVo> getDorPoint(@Param("userIds")String userIds);

    List<ResultVo> getClassPoint(@Param("userIds")String userIds);
}
